import React from 'react';
import { Switch } from 'antd';
import './index.less';

export default (props: any) => {
  return (
    <div className="switch-root">
      <Switch {...props}>{props.children}</Switch>
    </div>
  );
};
